﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;
using System.Windows.Navigation;
using NthParameterSeries.PriceServiceReference;
using NthParameterSeries.Models;


namespace NthParameterSeries.Views
{
    public partial class PriceView : Page
    {
        public PriceView()
        {
            InitializeComponent();

            this.DataContext = new PortfolioListViewModel();

            //PriceServiceClient service = new PriceServiceClient();
            ////service.GetPricesCompleted += new EventHandler<GetPricesCompletedEventArgs>(service_GetPricesCompleted);
            ////service.GetPricesAsync();

            //service.GetPortfolio2Completed += new EventHandler<GetPortfolio2CompletedEventArgs>(service_GetPortfolioCompleted);
            //service.GetPortfolio2Async(1);

            ////service.GetStringCompleted += new EventHandler<GetStringCompletedEventArgs>(service_GetStringCompleted);
            ////service.GetStringAsync();

        }

        

        // Executes when the user navigates to this page.
        protected override void OnNavigatedTo(NavigationEventArgs e)
        {
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {

        }

    }
}
